package com.ruoyi.business.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 选配设备配置对象 device_config_optional
 * 
 * @author DL
 * @date 2025-06-29
 */
@Data
public class DeviceConfigOptional extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 设备名称(标题) */
    @Excel(name = "设备名称(标题)")
    private String devName;

    /** 主设备台账ID */
    @Excel(name = "主设备台账ID")
    private String infoId;

    /** 主设备台账ID-最新的 */
    @Excel(name = "主设备台账ID-最新的")
    private String infoIdNew;

    /** 地址/IP */
    @Excel(name = "地址/IP")
    private String devAddress;

    /** 厂商 */
    @Excel(name = "厂商")
    private String devMaker;

    /** 硬件版本 */
    @Excel(name = "硬件版本")
    private String devHardwareVersion;

    /** 型号 */
    @Excel(name = "型号")
    private String devModel;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("devName", getDevName())
            .append("infoId", getInfoId())
            .append("infoIdNew", getInfoIdNew())
            .append("devAddress", getDevAddress())
            .append("devMaker", getDevMaker())
            .append("devHardwareVersion", getDevHardwareVersion())
            .append("devModel", getDevModel())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
